//准备Vuex中的store
//引入Vue
import Vue from 'vue'
//引入Vuex
import Vuex from 'vuex'
//引入小仓库
import home from './typenav'
import search from './search'
import detail from './detail'
import shopcart from './shopcart'
import user from './user'
import center from './center'
//应用Vuex插件
Vue.use(Vuex)
//创建并暴露store
export default new Vuex.Store({
    modules:{
        home,search,detail,shopcart,user,center
    }
})